//
//  ARPickerImageView.h
//  AwesomeRecorder
//
//  Created by Xing on 2019/11/29.
//  Copyright © 2019 Xing. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PickerVideo.h"

NS_ASSUME_NONNULL_BEGIN

@interface PickerVideoView : UIView

@property(nonatomic,assign) CGFloat margin;//单元间隔
@property(nonatomic,strong) UIImage *addIcon;//添加按钮
@property(nonatomic,assign) NSInteger maxCount;//最大数量
@property(nonatomic,strong) NSMutableArray<PickerVideo *> *videoArr;//视频数组
@property(nonatomic,assign) BOOL editable;//是否可编辑图片

@property(nonatomic,strong) UICollectionView *collectionView;

@property(nonatomic,copy) void(^selViewDidRefreshView)(NSInteger videoCount);

@property(nonatomic,copy) void(^selViewDidShowPickerView)(void);

@property(nonatomic,copy) void(^selViewDidChange)(void);

@property(nonatomic,weak) UIViewController *targetVC;

+ (CGFloat)viewHeight;

- (void)clear;

- (void)refreshView;

- (void)resetRemoveIcon:(UIImage *)removeIcon offset:(CGPoint)offset;

@end

NS_ASSUME_NONNULL_END
